package com.bing.bean;

import java.util.List;

/**
 * Created by kaibb on 2014/11/22.
 */
/*
{
        "openid":" OPENID",
        " nickname": NICKNAME,
        "sex":"1",
        "province":"PROVINCE"
        "city":"CITY",
        "country":"COUNTRY",
        "headimgurl":    "http://wx.qlogo.cn/mmopen/g3MonUZtNHkdmzicIlibx6iaFqAc56vxLSUfpb6n5WKSYVY0ChQKkiaJSgQ1dZuTOgvLLrhJbERQQ4eMsv84eavHiaiceqxibJxCfHe/46",
        "privilege":[
        "PRIVILEGE1"
        "PRIVILEGE2"
        ]
        "unionid": "o6_bmasdasdsad6_2sgVt7hMZOPfL"
        }*/
public class WeiXinUser {
    private String openid;
    private String nickname;
    private String sex;
    private String province;
    private String city;
    private String country;
    private String headimgurl;
    private List<String> privilege;
    private String unionid;

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("WeiXinUser{");
        sb.append("openid='").append(openid).append('\'');
        sb.append(", nickname='").append(nickname).append('\'');
        sb.append(", sex='").append(sex).append('\'');
        sb.append(", province='").append(province).append('\'');
        sb.append(", city='").append(city).append('\'');
        sb.append(", country='").append(country).append('\'');
        sb.append(", headimgurl='").append(headimgurl).append('\'');
        sb.append(", privilege=").append(privilege);
        sb.append(", unionid='").append(unionid).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
